feat: add linguiMacroSwcPlugin() helper#212
Merged
Merged
Conversation
110b392 to
5896227
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #212 +/- ##
=======================================
Coverage 94.49% 94.49%
=======================================
Files 9 9
Lines 2161 2161
=======================================
Hits 2042 2042
Misses 119 119
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
timofei-iatsenko
approved these changes
May 21, 2026
linguiMacroSwcPlugin() helper
mogelbrod
commented
May 21, 2026
Contributor
Author
mogelbrod
left a comment
There was a problem hiding this comment.
Changes look great @timofei-iatsenko!
Comment on lines
+58
to
+59
| > **Note** | ||
| > Consult with full working example for NextJS in the `/examples` folder in this repo. |
Collaborator
There was a problem hiding this comment.
@andrii-bodnar i'm going to replace this in the next iteration with a link to main js repo example, and delete nextjs example from this repo. I'm not using for testing this example anymore, the integration now is tested using a e2e test.
I'm going to do this when this feature would be published and example itself will use this helper.
andrii-bodnar
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
linguiMacroSwcPlugin()helper from@lingui/swc-plugin/optionsthat enables automatic deriving of SWC related options from the Lingui config file5 || 6as a dependency to access the config throughIdea from this discord thread